package com.x.erp.model;

import com.x.framework.annotation.MappingColumn;
import com.x.framework.annotation.MappingTable;
import com.x.framework.model.BaseObject;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 启辕合作表
 * 
 */
@MappingTable(tableName = "ERP_COOPERATION")
public class Cooperation extends BaseObject {

	private static final long serialVersionUID = -6879790819200067628L;

	@MappingColumn(columnName = "COOPERATION_ID", columnPk = true, columnLength = 32)
	private String cooperationId;// 启辕合作ID

	@DateTimeFormat(pattern = "yyyy-MM-dd")
	@MappingColumn(columnName = "COOPERATION_CREATE_TIME")
	private Date cooperationCreateTime;// 启辕合作创建时间

	@MappingColumn(columnName = "COOPERATION_MOBILE")
	private String cooperationMobile;// 启辕合作联系方式

	@MappingColumn(columnName = "COOPERATION_SOURCE")
	private String cooperationSource;// 启辕合作来源

	@MappingColumn(columnName = "COOPERATION_NAME")
	private String cooperationName;// 启辕合作人姓名

	@MappingColumn(columnName = "COOPERATION_COMPANY")
	private String cooperationCompany;// 启辕合作人公司名称

	@MappingColumn(columnName = "COOPERATION_REMARK")
	private String cooperationRemark;// 启辕合作备注

	@MappingColumn(columnName = "COOPERATION_STATE")
	private Integer cooperationState;// 启辕合作状态（0 未处理，1已处理）

	public String getCooperationId() {
		return cooperationId;
	}

	public void setCooperationId(String cooperationId) {
		this.cooperationId = cooperationId;
	}

	public Date getCooperationCreateTime() {
		return cooperationCreateTime;
	}

	public void setCooperationCreateTime(Date cooperationCreateTime) {
		this.cooperationCreateTime = cooperationCreateTime;
	}

	public String getCooperationMobile() {
		return cooperationMobile;
	}

	public void setCooperationMobile(String cooperationMobile) {
		this.cooperationMobile = cooperationMobile;
	}

	public String getCooperationSource() {
		return cooperationSource;
	}

	public void setCooperationSource(String cooperationSource) {
		this.cooperationSource = cooperationSource;
	}

	public String getCooperationName() {
		return cooperationName;
	}

	public void setCooperationName(String cooperationName) {
		this.cooperationName = cooperationName;
	}

	public String getCooperationCompany() {
		return cooperationCompany;
	}

	public void setCooperationCompany(String cooperationCompany) {
		this.cooperationCompany = cooperationCompany;
	}

	public String getCooperationRemark() {
		return cooperationRemark;
	}

	public void setCooperationRemark(String cooperationRemark) {
		this.cooperationRemark = cooperationRemark;
	}

	public Integer getCooperationState() {
		return cooperationState;
	}

	public void setCooperationState(Integer cooperationState) {
		this.cooperationState = cooperationState;
	}
}
